package com.hephesto.infra.dao.apache;

import java.util.Properties;

public class ApacheDatabaseConnectionUtil {

	public static java.sql.Connection getConnection() {
		
		java.sql.Connection connection = null;
		String strUrl = "jdbc:derby:C:\\dev\\workspace\\unicap\\hephesto\\db\\hephesto";

		Properties props = new Properties();
		props.put("user", "hephesto");
		props.put("password", "hephesto");
		try {
		    connection = java.sql.DriverManager.getConnection(strUrl, props);
		} catch(java.sql.SQLException e) {
		    e.printStackTrace();
		}

		return connection;
	}
	
}